package com.sprouting.ops.service;


import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.sprouting.ops.dao.OpsKnowledgeCommentDao;
import com.sprouting.ops.model.OpsKnowledgeComment;
import com.sprouting.ops.model.qo.OpsKnowledgeCommentQo;
import com.sprouting.ops.model.vo.OpsKnowledgeCommentVo;
import org.springframework.stereotype.Service;
import lombok.extern.slf4j.Slf4j;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import javax.annotation.Resource;

/**
 * 知识库评论;(OpsKnowledgeComment)(OPS_KNOWLEDGE_COMMENT) 表服务实现类
 *
 * @author ：lx（长沙麓谷）
 * @date 创建时间：2025-08-21 22:45:33
 */
@Service
@Slf4j
public class OpsKnowledgeCommentService extends ServiceImpl<OpsKnowledgeCommentDao, OpsKnowledgeComment> {

    @Resource
    private OpsKnowledgeCommentDao opsKnowledgeCommentDao;

    /**
     * 分页查询 知识库评论;
     * @param page 分页参数
     * @param query 查询参数
     * @return
     */
    public Page<OpsKnowledgeCommentVo> getListPage(Page page, OpsKnowledgeCommentQo query){
        return opsKnowledgeCommentDao.getListPage(page, query);
    }

}
